package com.cc8w.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class CategoryEntity   implements Serializable {
    private static final long serialVersionUID = 1L;

    private int catId;
    private String catName;
    private String catImg;
    private int catSort;

    public int getCatId() {
        return catId;
    }

    public void setCatId(int catId) {
        this.catId = catId;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }

    public String getCatImg() {
        return catImg;
    }

    public void setCatImg(String catImg) {
        this.catImg = catImg;
    }

    public int getCatSort() {
        return catSort;
    }

    public void setCatSort(int catSort) {
        this.catSort = catSort;
    }


    @Override
    public String toString() {
        return "CategoryEntity{" +
                "catId=" + catId +
                ", catName='" + catName + '\'' +
                ", catSort=" + catSort +
                '}';
    }
}
